using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using TMS.Domain.Entity;

namespace TMS.Infrastructrue.Persistence.Configuration
{
    public class CollegeConfiguration : Base.BaseEntityConfiguration<College>
    {

        public override void Configure(EntityTypeBuilder<College> builder)
        {
            base.Configure(builder);

            builder.ToTable("college");

            builder.Property(x=>x.CollegeName).HasMaxLength(20000).HasColumnName("college_name").HasColumnOrder(1);

        }

    }
}